// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import store from './store'

import Header from './common/header.vue'
import Content from './common/content.vue'
import Swiper from './common/Swiper.vue'
import swiperItem from './common/swiperItem.vue'
Vue.component(Header.name,Header);
Vue.component(Content.name,Content);
Vue.component(Swiper.name,Swiper);
Vue.component(swiperItem.name,swiperItem);

Vue.prototype.center = new Vue();

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})